<?php
/**
 * User: @lose
 * Date: 2020/12/22
 * Time: 10:17 上午
 */

namespace Frieza\Modules\FlowPackage\Actions;

use Encore\Admin\Actions\RowAction;

class Finish extends RowAction
{
    public $name = '终止';

    public function dialog()
    {
        $this->confirm('确定终止流量加油策略？');
    }

    public function getHandleRoute()
    {
        return admin_url('flowPackage/finish');
    }
}